package com.ldp.designpatterns.study.template.concreteClass;

import com.ldp.designpatterns.study.template.abstractClass.AbstractClass;

/**
 * @ClassName ConcreteClass
 * @Description TODO: 模板方法模式——具体子类实现模板类
 * @Author lindipei
 * @Date 2023/10/17 17:56
 */
public class ConcreteClass extends AbstractClass {
    @Override
    public void step1() {
        System.out.println("ConcreteClass: Step 1");
    }

    @Override
    public void step2() {
        System.out.println("ConcreteClass: Step 2");
    }

    @Override
    public void step3() {
        System.out.println("ConcreteClass: Step 3");
    }
}
